package cn.wolfcode.mapper;

import cn.wolfcode.domain.Department;
import cn.wolfcode.qo.QueryObject;
import cn.wolfcode.qo.TableQueryObject;

import java.util.List;

public interface DepartmentMapper {

    int insert(Department department);

    int deleteByPrimaryKey(Long id);

    int updateByPrimaryKey(Department department);

    Department selectByPrimaryKey(Long id);

    List<Department> selectAll();

    List<Department> selectForList(TableQueryObject qo);
}